package com.itheima.d4_abstractdemo;

public class Test {
    public static void main(String[] args) {
        B b = new B();
        b.show();
        b.setAge(18);
        b.setName("宁姚");
        System.out.println(b.getAge());
        System.out.println(b.getName());
        b.show2();
    }
}
